package com.shawn.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 探花喜欢
 *
 * @author lenovo
 * @date 2022/11/02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_like") //指定mongo表
public class UserLike implements Serializable {
    private ObjectId id;
    private Long userId;
    private Long likeUserId;
    private Boolean isLike;
    private Long created;
    private Long updated;
}
